package com.example.Homework2023.dao.impl;

import org.springframework.context.support.ClassPathXmlApplicationContext;

public class TestDemo {
    public  static void  main(String[] args){
        ClassPathXmlApplicationContext appContext
                =new ClassPathXmlApplicationContext("applicationContext.xml");
        TestDao testDao=(TestDao) appContext.getBean("testDao");
        testDao.test();
    }
}
